//
//  YXYThinkChangeViewController.m
//  Topit
//
//  Created by dllo on 15/12/23.
//  Copyright © 2015年 YXY. All rights reserved.
//

#import "YXYThinkChangeViewController.h"

@interface YXYThinkChangeViewController ()<UIWebViewDelegate>

@end

@implementation YXYThinkChangeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    
    NSURLRequest *request = [[NSURLRequest alloc] initWithURL:[NSURL URLWithString:self.url]];
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, -58, self.view.width, self.view.height)];
    [webView loadRequest:request];
    webView.scalesPageToFit = YES;
    webView.delegate = self;
    [self.view addSubview:webView];
    

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
